﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TRPOP.CRM.Component.Model
{
    /// <summary>
    /// 客户信息
    /// </summary>
    [Serializable]
    public class CompanyInfo
    {

        /// <summary>
        ///  ID
        /// </summary>
        public int iCompanyID { get; set; }
        /// <summary>
        ///  客户名称
        /// </summary>
        public string nvcCompanyName { get; set; }
        /// <summary>
        ///  联系人
        /// </summary>
        public string nvcContactName { get; set; }
        /// <summary>
        ///  性别
        /// </summary>
        public bool bGender { get; set; }
        /// <summary>
        ///  注册地址
        /// </summary>
        public string nvcRegisterAdress { get; set; }
        /// <summary>
        ///  联系人住址
        /// </summary>
        public string nvcContactAddress { get; set; }
        /// <summary>
        ///  联系人电话
        /// </summary>
        public string nvcContactPhone { get; set; }
        /// <summary>
        ///  国家
        /// </summary>
        public string nvcCountry { get; set; }
        /// <summary>
        ///  省
        /// </summary>
        public string nvcProvince { get; set; }
        /// <summary>
        ///  市
        /// </summary>
        public string nvcCity { get; set; }
        /// <summary>
        ///  联系人手机
        /// </summary>
        public string nvcContactTel { get; set; }
        /// <summary>
        ///  传真
        /// </summary>
        public string nvcFax { get; set; }
        /// <summary>
        ///  邮箱
        /// </summary>
        public string nvcEmail { get; set; }
        /// <summary>
        ///  邮编
        /// </summary>
        public string nvcPostCode { get; set; }
        /// <summary>
        ///  QQ号
        /// </summary>
        public string nvcQQ { get; set; }
        /// <summary>
        ///  网址
        /// </summary>
        public string nvcWebSite { get; set; }
        /// <summary>
        ///  区域
        /// </summary>
        public string nvcArea { get; set; }
        /// <summary>
        ///  客户描述
        /// </summary>
        public string nvcDiscription { get; set; }
        /// <summary>
        ///  添加时间
        /// </summary>
        public DateTime dtCreationTime { get; set; }
        /// <summary>
        ///  添加人员
        /// </summary>
        public int iCreatByEmployee { get; set; }
        /// <summary>
        ///  客户状态
        /// </summary>
        public int iCompanyStatus { get; set; }
        /// <summary>
        ///  扩展字段
        /// </summary>
        public string ntExtendProperty { get; set; }
        /// <summary>
        ///  客户类别
        /// </summary>
        public int iCompanyCategoryID { get; set; }
        /// <summary>
        ///  客户等级
        /// </summary>
        public int iCompanyGradeID { get; set; }
        /// <summary>
        ///  客户来源
        /// </summary>
        public int iCompanySourceID { get; set; }
        /// <summary>
        ///  员工跟踪
        /// </summary>
        public int iEmployeeFollowup { get; set; }
    }

    /// <summary>
    /// 客户信息 附带其他信息
    /// </summary>
    public class CompanyExtraInfo : CompanyInfo
    {
        /// <summary>
        ///  客户类别 名称
        /// </summary>
        public string nvcCompanyCategoryName { get; set; }

        /// <summary>
        /// 客户等级 名字
        /// </summary>
        public string nvcCompanyGradeName { get; set; }

        /// <summary>
        /// 客户来源 名字
        /// </summary>
        public string nvcCompanySourceName { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string nvcEmployeeName { get; set; }
    }

    /// <summary>
    /// 客户信息 计划信息
    /// </summary>
    public class CompanyRemindExtraInfo : CompanyExtraInfo
    {
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime dtStartTime { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime dtEndTime { get; set; }
        /// <summary>
        /// ID
        /// </summary>
        public int iCompanyRemindID { get; set; }
        /// <summary>
        /// 计划是否已进行
        /// </summary>
        public bool bIsEnable { get; set; }

        /// <summary>
        /// 所属计划ID
        /// </summary>
        public int iRemindCategoryID { get; set; }
    }
}

